/*    */ package com.lmpop.createIndex.search;
/*    */ 
/*    */ import com.lmpop.createIndex.searchModel.Queue;
/*    */ import com.lmpop.createIndex.searchModel.QueueValue;
/*    */ import com.lmpop.createIndex.searchModel.SearchData;
/*    */ import com.lmpop.createIndex.searchModel.SearchModel;
/*    */ import java.io.IOException;
/*    */ import java.util.ArrayList;
/*    */ import java.util.List;
/*    */ import java.util.Map;
/*    */ 
/*    */ public class NavIndexFiles
/*    */ {
/*    */   public ProperUtil properUtil;
/*    */   private String file_path;
/*    */ 
/*    */   public NavIndexFiles()
/*    */   {
/* 20 */     this.properUtil = new ProperUtil();
/* 21 */     this.file_path = this.properUtil.getFilePathByModel("nav");
/*    */   }
/*    */ 
/*    */   public List getNavInfo(Map paraMap) throws IOException {
/* 25 */     ArrayList showList = new ArrayList();
/* 26 */     SearchData search = new SearchData();
/* 27 */     ArrayList paraList = new ArrayList();
/*    */ 
/* 29 */     String nav_id = ""; String cust_id = ""; String nav_post = "";
/* 30 */     if (paraMap.get("nav_id") != null) nav_id = paraMap.get("nav_id").toString();
/* 31 */     if (paraMap.get("cust_id") != null) cust_id = paraMap.get("cust_id").toString();
/* 32 */     if (paraMap.get("nav_post") != null) nav_post = paraMap.get("nav_post").toString();
/*    */ 
/* 34 */     Queue queue = new Queue(new QueueValue[] { new QueueValue("sort_order", 2, true) });
/* 35 */     paraList.add(new SearchModel("0", "nav_id", nav_id));
/* 36 */     paraList.add(new SearchModel("0", "cust_id", cust_id));
/* 37 */     paraList.add(new SearchModel("0", "nav_post", nav_post));
/* 38 */     showList = search.getSearchInfo(this.file_path, paraList, queue);
/* 39 */     return showList;
/*    */   }
/*    */ }

/* Location:           F:\电商\commons-utils.jar
 * Qualified Name:     com.lmpop.createIndex.search.NavIndexFiles
 * JD-Core Version:    0.6.0
 */